#pragma once
#include "afxwin.h"
#include "afxcmn.h"

/**
 * This is a class do the tiff splitting. 
 * However, due to an 2b, this name becomes PDF splitting
 */

#define WM_UPDATE_USER1 (WM_USER + 201)
// PDFSplitterTab dialog

class PDFSplitterTab : public CDialog
{
	DECLARE_DYNAMIC(PDFSplitterTab)

public:
	PDFSplitterTab(CWnd* pParent = NULL);   // standard constructor
	virtual ~PDFSplitterTab();

// Dialog Data
	enum { IDD = IDD_PDF_SPLITTER_DIALOG };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	afx_msg LRESULT OnUpdateByUser(WPARAM wParam, LPARAM lParam);
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedButton1();
	afx_msg void OnBnClickedOk();
	afx_msg void OnEnChangePdfFilepathEdit();
	CListBox splittedFileNames;
	CProgressCtrl splitProgress;
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	CBrush m_brush;
	virtual BOOL OnInitDialog();
	// Add variable to support copy, paste and cut
	CEdit directoryPathEdit;
	CButton isDeleteOrigin;
};
